#ifndef _ADR_REQUIREDATTRIBUTE_H_
#define _ADR_REQUIREDATTRIBUTE_H_

#include "adr/Metadata/ValidationAttribute.h"


namespace adr {
	class BaseProperty;

	class RequiredAttribute : public ValidationAttribute {
	private:
		const bool isRequired;			
	public:
		RequiredAttribute(bool isRequired = true);
		virtual ~RequiredAttribute();
		bool Validate(BaseProperty& prop) override;
	};
}

#endif